<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<span th:if="${data % 1 == 0}" th:text="${data}"></span>
<span th:if="${data % 1 != 0}" th:text="${data - (data % 1) + 1}"></span>
</body>
</html>